Boomy DDS SDK Development Guide I
I. About
This document guides readers to write control code with HighController, send commands to the robot to drive it to perform corresponding actions and reproduce demonstration effects.
The document consists of four sections. Section 2 covers prerequisites. Section 3 walks through code cloning, code explanation, deployment paths and compilation procedures to help you implement two demo actions of the robot: standing up and waving. Section 4 describes final effect verification and presentation.
Automation Function Objectives: Complete the following three actions via HighController:
-
Make Boomy stand up autonomously;
-
Make Boomy move forward for 2 seconds;
-
Make Boomy waves autonomously;
II. Prerequisites
Environment Specifications
Operating System: Ubuntu 22.04
Note: ROS environment is not required for SDK compilation
Supported Architectures: x86_64 / ARM
(I) Connect to the Robot
1.Wired Connection
-
Prepare a standard household RJ45 Ethernet cable.
-
Set the IP address of your PC’s wired network interface to 192.168.55.100 (values from 103 to 110 are also acceptable) , and the subnet mask to 255.255.255.0.
-
With this configuration, connect your PC directly to the Boomy robot via the Ethernet cable. Run the
ping 192.168.55.102command. A successful ping indicates that the communication link works properly.

- Connect to the robot computing board via SSH service
ssh noetix@192.168.55.101 #Connect to the compute board, Password: Boomy
2.Wireless Connection
- Obtain the wireless IP: Check the robot Wi‑Fi IP from the Wi‑Fi connection status on the mobile App. (The compute board uses the motion control board’s Wi‑Fi module.)

- Run the connection command: Connect using the command with port parameters.
ssh -p 2222 noetix@[Robot Wi‑Fi IP]
(II) SDK Source Code Acquisition, Build and Compilation
1.Obtain the SDK Source Code
Official URL:GitHub - Noetix-Robotics/noetix_sdk_boomy: This is SDK for Noetix robot Boomy with DDS interface.
III. Start
(I) Clone the SDK
git clone git@github.com:Noetix-Robotics/noetix_sdk_boomy.git
cd noetix_sdk_boomy
(II) Start of C++ Code
1. Create the src folder
mkdir src
2.Write the main.cpp file under the src folder
vim src/main.cpp
#include "highcontroller.h" // HighController Header File
#include <unistd.h> // POSIX APIs such as usleep and getcwd
using namespace noetix; // Global noetix Namespace
int main(int argc, char *argv[]) {
// ========== 1. Configure DDS environment ==========
// Construct the path of dds.xml based on the current working directory and set the CycloneDDS environment variable.
char buf[256];
getcwd(buf, sizeof(buf));
std::string path = std::string(buf);
std::string ddsxml = "file://" + path + "/config/dds.xml";
setenv("CYCLONEDDS_URI", ddsxml.c_str(), 1);
printf("cur path is %s\n", path.c_str());
// ========== 2. Obtain the HighController Singleton ==========
HighController *ctrl = HighController::Instance();
// ========== 3. Initialize the Controller ==========
ctrl->init();
// ========== 4. Wait for Controller Internal Data Synchronization ==========
sleep_ms(1000);
// ========== 5. Publish Command: Make the robot stand up ==========
// Description of the five parameters of publish_cmd:
// 1. x: Forward/backward movement, range [-1, 1]. Values greater than 0 indicate forward movement.
// 2. y: Lateral movement, range [-1, 1]. Values greater than 0 indicate left movement.
// 3. z: In-place rotation, range [-1, 1]. Values greater than 0 indicate left rotation.
// 4. ControlCmd: Mode switching command. See include/common.h for detailed definitions.
// 5. extra: Extra parameter, used to control sub-functions under a specific mode (e.g., teaching).
ctrl->publish_cmd(0, 0, 0, ControlCmd::FALLTOSTAND, 0);
// The stand-up action takes approximately 13 seconds. Do not send other commands during this process,
// otherwise the robot motion may be interrupted and trigger protection mode. Block here until completion.
sleep_ms(13000);
// ========== 6. Continuously send command: walk forward for 2 seconds==========
// Note: The SDK imposes safety restrictions on locomotion. The forward command must be sent continuously for the robot to keep moving,
// The robot will gradually stop once command transmission ceases.
// The robot automatically enters walking mode after standing up,no separate WALK command is required.
// Send the DEFAULT empty command here, only the motion parameters need to be passed.
auto start_time = std::chrono::steady_clock::now();
auto duration = std::chrono::seconds(2);
while (std::chrono::steady_clock::now() - start_time < duration) {
ctrl->publish_cmd(1, 0, 0, ControlCmd::DEFAULT, 0);
usleep(2000); // Send once every 2 ms.
}
// ========== 7. Publish Command: Greet ==========
ctrl->publish_cmd(0, 0, 0, ControlCmd::SWING, 0);
return 0;
}
Regarding the fourth ControlCmd parameter of publish_cmd in the code, all available options can be found in the ControlCmd enum defined in include/common.h (do not modify the parameter order). Details are as follows:
| Parameter Name | Definition Prototype | Index | Sample Value | Description |
|---|---|---|---|---|
ControlCmd | | 0 | WALK | Walking mode (half-body locomotion) |
| 1 | SWING | Factory-preset wave motion | ||
| 2 | SHAKE | Factory-preset handshake motion | ||
| 3 | CHEER | Factory-preset cheer motion | ||
| 4 | FULLWALK | Whole-body Locomotion | ||
| 5 | START | Enable/Disable | ||
| 6 | SWITCH | Ready Mode | ||
| 7 | STARTTEACH | Start Teaching | ||
| 8 | SAVETEACH | Save Teaching | ||
| 9 | ENDTEACH | Stop Teaching | ||
| 10 | PLAYTEACH | Play Teaching | ||
| 11 | DANCE0 | Dance Mode 1 (what is love) | ||
| 12 | FALLTOSTAND | Stand Up | ||
| 13 | STANDTOFALL | Fold Down | ||
| 14 | DANCE1 | Dance Mode 2 (Jazz) | ||
| 15 | DANCE2 | Dance Mode 3 (gee) | ||
| 16 | ZHOUJI | Elbow Strike | ||
| 17 | DEFAULT | Empty mode, for locomotion under boxing mode |
Refer to the flowchart below for switching between modes.
Boomy State Machine
(Incorrect state machine mode switching may cause the robot to enter protection mode)

For more details, refer to: Boomy Comprehensive Usage Document
3. Modify CMakeLists.txt Build File
Modify the content of the CMakeLists.txt file under this path:
1. Add Example
Locate add_executable(example_media examples/cpp/example_media.cpp) in the file, and append the newly written code right below this line.
add_executable(main src/main.cpp)
add_executable is a CMake command, which is used to define an executable target.
2. Set Path
Similarly, locate target_include_directories in the file and add content below this line.
target_include_directories sets header search paths for the target example_standswing.
target_include_directories(main
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
3. Specify Linking
Similarly, locate target_link_libraries in the file and add content below this line.
target_link_libraries is used to specify libraries to link for the given target.It tells the linker to combine symbols and functions from these libraries into the final executable.
target_link_libraries(main
Threads::Threads
noetix_boomy_sdk
${DDS_LIB_DIR}/libddsc.so
${DDS_LIB_DIR}/libddscxx.so
)
4. Full CMakeLists.txt File
4. Compile the Code
Save and exit, then run the build script in the project root directory.
./build.sh
As shown below:

5. Run the Code
sudo ./build/main
(III) Python Start
1. Create main.py Python File
Write main.py under the src folder.
vim src/main.py
2. Write Python Code
import time
import sys
import os
from time import sleep
# ========== 1. Configure DDS environment==========
# Specify the CycloneDDS configuration file path and add the build directory to import the Python interface library.
os.environ["CYCLONEDDS_URI"] = "file://config/dds.xml"
sys.path.append(os.path.abspath("./build"))
from highcontrol_py import *
def main():
# ========== 2. Obtain the HighController Singleton ==========
ctrl = HighController.instance()
# ========== 3. Initialize the Controller ==========
ctrl.init()
# ========== 4. Wait for Controller Internal Data Synchronization ==========
time.sleep(1)
# ========== 5. Publish Command: Make the robot stand up ==========
# Description of the five parameters of publish_cmd:
# 1. x: Forward/backward movement, range [-1, 1]. Values greater than 0 indicate forward movement.
# 2. y: Lateral movement, range [-1, 1]. Values greater than 0 indicate left movement.
# 3. z: In-place rotation, range [-1, 1]. Values greater than 0 indicate left rotation.
# 4. ControlCmd: Mode switching command. See include/common.h for detailed definitions.
# 5. extra: Extra parameter, used to control sub-functions under a specific mode (e.g., teaching).
ctrl.publish_cmd(0, 0, 0, ControlCmd.FALLTOSTAND, 0)
# The stand-up action takes approximately 13 seconds. Do not send other commands during this process,
# otherwise the robot motion may be interrupted and trigger protection mode. Block here until completion.
time.sleep(13)
# ========== 6. Continuously send command: walk forward for 2 seconds==========
# Note: The SDK imposes safety restrictions on locomotion. The forward command must be sent continuously for the robot to keep moving.
# The robot will gradually stop once command transmission ceases.
# The robot automatically enters walking mode after standing up; no separate WALK command is required.
# Send the DEFAULT empty command here, only the motion parameters need to be passed.
start_time = time.monotonic()
duration = 2.0
while time.monotonic() - start_time < duration:
ctrl.publish_cmd(1, 0, 0, ControlCmd.DEFAULT, 0)
time.sleep(0.002) # Send once every 2 ms.
# ========== 7. Publish Command: Greet ==========
ctrl.publish_cmd(0, 0, 0, ControlCmd.SWING, 0)
print("Command execution completed")
if __name__ == "__main__":
main()
3. Compile the Code
Save and exit, then run the build script in the project root directory. The link files required for Python will be generated.
./build.sh
4. Run the Code
After compilation, run the Python code in the project root directory.
python3 src/main.py
IV. Demonstration
The following is the actual robot running effect.
Google Drive video link:https://drive.google.com/file/d/1ngeQnl7orS_pdzzExNScL7PUltdd4qxq/view?usp=drive_link